window: Avoid redundantly getting the GDK window
authorTimm Bäder <mail@baedert.org>
Fri, 29 Dec 2017 07:52:14 +0000 (08:52 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Tue, 2 Jan 2018 15:26:46 +0000 (15:26 +0000)
commitad536f333bfba825ad8c9445c70c83b5c05d6c02
tree1fe5c5504e25dec0a7789e7cf13aae0dd85d4338
parentbdb3a4d5052b118a97329a254579aab4e0015ba4
window: Avoid redundantly getting the GDK window

meta-pick of commit c1573a1fda7c3b917b6809795b9668629fe58883: the
variable gdk_window is used in a check, but we may as well use it again
to avoid calling _gtk_widget_get_window() again unnecessarily.
gtk/gtkwindow.c